package io.datajek.springbasics.movierecommendersystem.lesson2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.Arrays;

@SpringBootApplication
public class MovieRecommenderSystemApplication {

	public static void main(String[] args) {
		SpringApplication.run(MovieRecommenderSystemApplication.class, args);
           //选择使用那个Filter，选择过滤器
		RecommenderImplementation recommenderImplementation=new RecommenderImplementation(new CollaborativeFilter());
		String [] result =recommenderImplementation.recommendermovie("推荐电影");
		System.out.println(Arrays.toString(result));

	}

}
